package cn.growthgate.fgo.mapper;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.mapper.BaseMapper;

import cn.growthgate.fgo.entity.Image;
import cn.growthgate.fgo.entity.User;

/**
 * <p>
 * 图片 Mapper 接口
 * </p>
 *
 * @author GrowthGate
 * @since 2019-04-21
 */
public interface ImageMapper extends BaseMapper<Image> {

	@Select("select * from t_sys_user where id = #{userId}")
	public User getUser(Image image);
	
}
